<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no,minimal-ui">
    <meta name="apple-mobile-web-app-title" content="phoeon"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <script src="./prettify.js"></script>
    <!-- built files will be auto injected -->
    <script>
      var _hmt = _hmt || [];
      
      (function() {
        var hm = document.createElement("script");
        const demopath =  "https://hm.baidu.com/hm.js?a8300cc9b578e7c4f981303d7ea2a83a";
        const docpath = "https://hm.baidu.com/hm.js?525c61b0c4dd85b1454476417dd9a7dc";
        const ptype = '<%= VUE_APP_PRO_TYPE %>';
        // if(!/(demo|doc)/.test(ptype))return
        hm.src = ptype==="doc"?docpath:demopath;
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
      })();
      </script>      
  </body>
</html>
